package cate.game.role.res.guild.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdGuild;
import cate.game.role.res.guild.po.basic.GuildBasicPO;
import easy.java.dev.note.NoteField;

import java.util.List;

@ClientMsg(title = "公会列表的返回")
public class GuildListResp implements MsgOutput {
    @NoteField(value ="公会基础")
    public List<GuildBasicPO> list;
    @NoteField(value ="玩家搜索的信息")
    public String des;

    public GuildListResp(List<GuildBasicPO> list,String des) {
        this.list = list;
        this.des = des;
    }

    public GuildListResp() {
    }

    @Override
    public MsgConfig conf() {
        return MsgIdGuild.GUILD_LIST_RESP;
    }
}
